@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

$hue-color: 224;
/* ①0是红色 120是绿色 240是蓝色  ②饱和度 ③亮度*/
/*Purple 250 - Green 142 - Blue 230 - Pink 340*/
/* HSL color mode */
$first-color: hsl($hue-color, 89%, 60%);
$first-color-alt: hsl($hue-color, 100%, 50%);
$first-color-lighter: hsl($hue-color, 92%, 85%);
$body-color: hsl($hue-color, 60%, 99%);
$title-color: hsl($hue-color, 8%, 15%);
$text-color: hsl($hue-color, 8%, 45%);
$text-color-light: hsl($hue-color, 8%, 65%);
$input-color: hsl($hue-color, 70%, 96%);
$body-color: hsl($hue-color, 60%, 99%);
$container-color: #fff;

$body-font: "Poppins", sans-serif;
$bfz: 2rem; //big-font-size
$h2fz: 1.25rem; //h2-font-size
$nfz: 0.938rem; //normal-font-size

:root {
  --hue-color: 224;
  --first-color: red;
}

@media screen and (min-width: 768px) {
  $bfz: 3.5rem;
  $h2fz: 20rem;
  $nfz: 1rem;
}

body {
  background-color: var(--first-color) !important;
}

.button {
  display: inline-block;
  background-color: $first-color;
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-weight: 600px;
  border-radius: 0.5rem;
  cursor: pointer;
  &:hover {
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
    background-color: $first-color-alt;
  }
}

.button.sm {
  padding: 0.4rem 1rem;
}

.container {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  width: calc(100% - 2rem);
  margin-left: 1rem;
  margin-right: 1rem;
  @media (min-width: 1024px) {
    margin-left: auto;
    margin-right: auto;
  }
}

input[type="text"] {
  box-sizing: border-box;
  display: inline-block;
  padding: 0.6rem 0.4rem;
  border-radius: 0.25rem;
  border: 2px solid $first-color;
  color: $text-color;
  transition: 0.3s;
  &:focus {
    outline: none;
    border: 2px solid $first-color-alt;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      -2px 2px 4px 2px rgba(0, 0, 0, 0.06), 2px 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  &::placeholder {
    color: $text-color-light;
  }
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
